package calculation;

public class AddDigits {
	public int addDigits(int num) {
        return 1 + (num - 1) % 9;    
    }
}
